#include <iostream>
using namespace std;

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string>
#include <cstring>

int main()
{
    const char * filename = "./111.txt";
    cout<<"---------"<<access(filename,F_OK)<<endl;
    
}